import {
  treeQuery
} from '@/api/libaryClass/index'
const app = {
  actions: {
    // 树形结构菜单查询
    TreeQuery({ commit }, postselectinfo) {
      return new Promise((resolve, reject) => {
        treeQuery(postselectinfo).then(response => {
          resolve(response.data)
        }).catch(error => {
          reject(error)
        })
      })
    }

  }
}

export default app
